package com.ruoyi.yuanliao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.api.domain.SysDept;
import com.ruoyi.system.api.domain.SysUser;
import com.ruoyi.yuanliao.domain.TraceTransport;
import com.ruoyi.yuanliao.domain.TraceUserCrops;

import java.util.List;

/**
* @author 86182
* @description 针对表【trace_transport】的数据库操作Service
* @createDate 2023-05-20 10:57:18
*/
public interface FarmerService extends IService<TraceTransport> {

    List<SysUser> getAllDriverByDeptId(String deptId);

    List<SysDept> getFactoryByDeptId(Integer deptId);

    int addTransport(TraceTransport traceTransport);

    int saveCrops(TraceUserCrops traceCrops);

    List<TraceUserCrops> getCropsByUsername(String username);
}
